package codegenerator;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class TableInfo implements Serializable {

	private String name;
	private List<ColumnInfo> primaryKey;
	private List<ColumnInfo> columns;

	/**
	 * getPrimaryKey :
	 * 
	 * @return the primaryKey
	 */
	public List<ColumnInfo> getPrimaryKey() {
		return primaryKey;
	}

	/**
	 * setPrimaryKey :
	 * 
	 * @param primaryKey
	 *            the primaryKey to set
	 */
	public void setPrimaryKey(List<ColumnInfo> primaryKey) {
		this.primaryKey = primaryKey;
	}

	/**
	 * getName :
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * setName :
	 * 
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * getColumns :
	 * 
	 * @return the columns
	 */
	public List<ColumnInfo> getColumns() {
		return columns;
	}

	/**
	 * setColumns :
	 * 
	 * @param columns
	 *            the columns to set
	 */
	public void setColumns(List<ColumnInfo> columns) {
		this.columns = columns;
	}

}
